[INFO] cloning repository https://github.com/xinthink/rust_crosscompile_samples
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xinthink/rust_crosscompile_samples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinthink%2Frust_crosscompile_samples", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinthink%2Frust_crosscompile_samples'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3d433cc1b7026699ad324b5c4bbac6e847186cdb
[INFO] checking xinthink/rust_crosscompile_samples against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinthink%2Frust_crosscompile_samples" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xinthink/rust_crosscompile_samples
[INFO] finished tweaking git repo https://github.com/xinthink/rust_crosscompile_samples
[INFO] tweaked toml for git repo https://github.com/xinthink/rust_crosscompile_samples written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xinthink/rust_crosscompile_samples on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xinthink/rust_crosscompile_samples already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 22d563e14544ce5ae3b9c81c25871c3ffd61aee91f9b9cf6c5046ea7b1910080
[INFO] running `Command { std: "docker" "start" "-a" "22d563e14544ce5ae3b9c81c25871c3ffd61aee91f9b9cf6c5046ea7b1910080", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22d563e14544ce5ae3b9c81c25871c3ffd61aee91f9b9cf6c5046ea7b1910080", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22d563e14544ce5ae3b9c81c25871c3ffd61aee91f9b9cf6c5046ea7b1910080", kill_on_drop: false }`
[INFO] [stdout] 22d563e14544ce5ae3b9c81c25871c3ffd61aee91f9b9cf6c5046ea7b1910080
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 057ecb86db3b923e160e3baaa72f627b3c2c759cc17e2274176c26f293eef216
[INFO] running `Command { std: "docker" "start" "-a" "057ecb86db3b923e160e3baaa72f627b3c2c759cc17e2274176c26f293eef216", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling jni v0.19.0
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]     Checking bytes v1.8.0
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]     Checking android_log-sys v0.3.1
[INFO] [stderr]     Checking napi-sys-ohos v0.0.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking jni-sys v0.3.0
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]    Compiling syn v2.0.89
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking android_logger v0.13.3
[INFO] [stderr]    Compiling napi-derive-backend-ohos v0.0.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling ctor v0.2.9
[INFO] [stderr]     Checking napi-ohos v0.1.3
[INFO] [stderr]    Compiling napi-derive-ohos v0.0.9
[INFO] [stderr]     Checking hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub extern fn rust_greeting(to: *const c_char) -> *mut c_char {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub extern fn rust_greeting(to: *const c_char) -> *mut c_char {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub extern fn rust_greeting_free(s: *mut c_char) {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub extern fn rust_greeting_free(s: *mut c_char) {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         CString::from_raw(s)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = CString::from_raw(s);
[INFO] [stdout]    |         +++++++                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         CString::from_raw(s)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = CString::from_raw(s);
[INFO] [stdout]    |         +++++++                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.69s
[INFO] running `Command { std: "docker" "inspect" "057ecb86db3b923e160e3baaa72f627b3c2c759cc17e2274176c26f293eef216", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "057ecb86db3b923e160e3baaa72f627b3c2c759cc17e2274176c26f293eef216", kill_on_drop: false }`
[INFO] [stdout] 057ecb86db3b923e160e3baaa72f627b3c2c759cc17e2274176c26f293eef216
